<%--
  Created by IntelliJ IDEA.
  User: 12460
  Date: 2024/11/30
  Time: 14:31
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" errorPage="demo07.jsp" %> <%-- 如果当前页面发生异常就跳转到demo07.jsp--%>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <%
        //模拟异常
        int i =1/0;
    %>
</body>
</html>
